<script>
	export default {
		onLaunch: function() {
		  console.log(uni.getSystemInfoSync().platform);
		  if(uni.getSystemInfoSync().platform!=="Android" || uni.getSystemInfoSync().platform!=="ios"){
        this.$store.state.stateBarHeight = uni.getSystemInfoSync().statusBarHeight;

      }
    //
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
	}
  // let theme=this.$store.state.theme;
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/theme.scss";
  @import "uview-ui/index.scss";
  @import "./static/scss/common.scss";
  *{
    font-family: STKaiti;
  }

</style>
